package com.hotleproject.mapper;

import com.hotleproject.pojo.Room;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface RoomMapper {
    List<Room> selectAllRoom();

    int getCount();
    List<Room> pageList(int pageNo,int pageSize);

    void insertRoom(String roomType,String roomPrice,String roomImg,String roomBed,String roomFaci,String roomNum);
}
